<?php
declare(strict_types=1);
namespace SixShop\Payment\Enum;

enum PaymentBizEnum:int
{
    case ORDER_PAY = 1;
    case VIP_PAY = 2;

    public function toString(): string
    {
        return match ($this) {
            self::ORDER_PAY => '订单支付',
            self::VIP_PAY => 'VIP会员支付',
        };
    }
}
